Improvements to face customization interface.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 8 Oct 2010 00:05:12 +0000 (20:05 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 8 Oct 2010 00:05:12 +0000 (20:05 -0400)
commitecb73ccd063c94f019fe89e7b41946fd835d4bbb
tree0decdccd2c3f6eb0395e2aa50fc68589c9e33333
parent030b0d476aa6a1d1623f8e6aa7a2ab7ef08d97f1
Improvements to face customization interface.

* lisp/cus-edit.el (custom-variable, custom-face): Doc fix.
(custom-face-edit): Add value-create attribute.
(custom-face-edit-value-create)
(custom-face-edit-value-visibility-action): New functions.  Hide
unused face attributes by default, and add a visibility toggle.
(custom-face-edit-deactivate): Show empty values with shadow face.
(custom-face-selected): Only use this for face specs with default
attributes.
(custom-face-value-create): Cleanup.

* lisp/wid-edit.el (widget-checklist-value-create): Use dolist.
(widget-checklist-match-find): Make second arg optional.
lisp/ChangeLog
lisp/cus-edit.el
lisp/wid-edit.el